﻿
function init() {

    $("#txtDate").datetimepicker({ dateFormat: "yy-mm-dd", onClose: function () { start = $("#txtDate").datetimepicker("getDate"); } });
}